import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import nodejs from '@feidao/web/atom/browser/msg/nodejs';
import { send_msg as url } from './config';

export default async function a004(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	try {
		const res = await nodejs(url, 'add/column', { type: 2 }, false, false);
		console.log(res);
		alert(JSON.stringify(res));
	} catch (error) {
		alert('错误信息===' + JSON.stringify(error));
	}
}
